<!--#include file="./doctype.html"-->
<title><%=editTitle%>自定义标签-<%=siteTitle%>-后台管理</title>
</head><body>
<div class="wrap">
	<ol class="breadcrumb">
		<li><a href="<%=fileName%>?q=index">列表首页</a></li>
		<li class="active"><a href="javascript:;" class="reload"><%=editTitle%></a></li>
	</ol>
	<div class="alert alert-success">
		<span class="close" data-dismiss="alert">&times;</span>
		<strong>注意：</strong>修改标签时，如果模板里使用过的，请使用批量替换
	</div>
	<form method="post" action="<%=fileName%>?q=save" class="mb10" role="form">
        <input type="hidden" name="id" value="<%=iid%>">
        <div class="form-group fix">
            <input id="customTag" name="customTag" class="form-control inline w30 check_value" placeholder="标签名称" value="<%=app.hec(data(0))%>" />
            <label class="inline control-label" for="customTag">标签名称(中文、英文、数字、下划线)(不包含“my_”,系统会自动加上)</label>
        </div>
        <div class="form-group fix">
            <label class="inline control-label" for="customContent">标签内容(支持HTML代码)</label>
            <textarea id="customContent" name="customContent" class="form-control check_value" rows="5" placeholder="标签内容"><%=app.hec(data(1))%></textarea>
        </div>
		<div class="form-group fix text-center submit_box"></div>
	</form>
    <!--#include file="loadTime.html"-->
</div>
<script>
$(document).ready(function() {
	$('.check_value').checkEmpty();
$(this)
	.on('submit', 'form', function(){
		return $.submitForm('.check_value');
	})
})
</script>
</body>
</html>